@import './mixin';
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
main,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section {
  display: block;
}
html {
  font-size: calc(100vw / 750 * 100);
}
/* HTML5 hidden-attribute fix for newer browsers */
*[hidden] {
  display: none;
}
input {
  outline: none;
  border: none;
  -webkit-appearance: none;
}
ol,
ul {
  list-style: none;
}
a {
  text-decoration: none;
}
.flex {
  display: flex;
}
.flex-none {
  flex: none;
}
.flex-auto {
  flex: auto;
}
.flex-wrap {
  flex-wrap: wrap;
}
.row-all-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.col-all-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.row-between-center {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.row-around-center {
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.row-start-center {
  display: flex;
  align-items: center;
}
.row-start-end {
  display: flex;
  align-items: flex-end;
}
.col-start-start {
  display: flex;
  flex-direction: column;
}
.col-start-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.col-center-start {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.5s;
}
.fade-enter,
.fade-leave-to {
  opacity: 0;
}
.ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ellipsis2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.ani-rotate {
  animation: rotate 1s linear infinite;
}
@keyframes rotate {
  100% {
    transform: rotateZ(-1turn);
  }
}
.ani-scale {
  animation: scale 0.8s ease-in forwards;
}
@keyframes scale {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
  }
}
.ani-updown {
  animation: updown 2s linear 3;
}
@keyframes updown {
  0% {
    transform: translateY(0);
  }
  15% {
    transform: translateY(-0.2rem);
  }
  30% {
    transform: translateY(0);
  }
  45% {
    transform: translateY(-0.2rem);
  }
  60% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(0);
  }
}
.vjs-custom-skin {
  // height: 4.22rem;
}
.video-js .vjs-big-play-button {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.zIndex {
  z-index: 99999 !important;
}

.ui-title {
  .big {
    font-size: 0.24rem;
  }
  .small {
    font-size: 0.24rem;

    transform: scale(0.66);
  }
}
.ui-font--300 {
  font-weight: 300;
}
.ui-font--400 {
  font-weight: 400;
}
.ui-font--600 {
  font-weight: 600;
}
.no-scroll-bar {
  &::-webkit-scrollbar {
    display: none;
  }
}
.jigsaw-actions {
  width: 100%;
  height: 0.88rem;
  background-color: #fff;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 1200;
  div {
    width: 50%;
    height: 100%;
    font-size: 0.32rem;
    position: relative;
    &.cancel {
      color: #666;
      &:after {
        content: '';
        width: 0.02rem;
        height: 0.4rem;
        opacity: 0.3;
        position: absolute;
        background-color: #000;
        right: 0;
        bottom: 0.24rem;
      }
    }
    &.sure {
      color: #333;
    }
  }
}
.gif-tag {
  width: 0.5rem;
  height: 0.28rem;
  font-size: 0.24rem;
  font-weight: 600;
  color: #fff;
  position: absolute;
  left: 0;
  bottom: 0;
  background-color: #4a79af;
  // &:after {
  //   content: '';
  //   width: 0;
  //   height: 0;
  //   border-width: 0 0 .3rem .16rem;
  //   border-color: transparent #4A79AF;
  //   border-style: solid;
  //   position: absolute;
  //   left: 100%;
  //   top: 0;
  // }
}
//文字换行方式
@mixin text-break {
  word-break: break-word;
}
